package com.htgd.gardenexpo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class GeConHealthyVO {

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "封面")
    private String picture;

    @ApiModelProperty(value = "标题")
    private String tittle;

    @ApiModelProperty(value = "简介")
    private String introduce;

    @ApiModelProperty(value = "标题")
    private String content;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "是否指定(1：置顶，0：不置顶)")
    private Integer isTop;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "状态")
    private String statusText;

    @ApiModelProperty(value = "状态")
    private String isTopText;

    @ApiModelProperty(value = "点击量")
    private Integer hit;

    @ApiModelProperty(value = "点赞数")
    private Integer likeNumber;

    @ApiModelProperty(value = "是否喜欢（false:无，true：喜欢）")
    private Boolean isLike;
}
